//
//  Extra.m
//  PictureSelector
//
//  Created by Lyy on 15/8/21.
//  Copyright (c) 2015年 Lyy. All rights reserved.
//

#import "Extra.h"
#import <UIKit/UIKit.h>

BOOL MSIsPortrait()
{
    return UIInterfaceOrientationIsPortrait([[UIApplication sharedApplication] statusBarOrientation]);
}

CGFloat MSStatusBarHeight(void)
{
    return [UIApplication sharedApplication].statusBarFrame.size.height;
}

BOOL MSIsLandscape()
{
    return !MSIsPortrait();
}
